package com.web;

import com.pojo.dto.Message;
import com.pojo.vo.CSaveVo;
import com.service.CSaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class CSaveController {
    @Autowired
    CSaveService cSaveService;

    @PostMapping("/csavelist")
    public Message<List<CSaveVo>> findList(CSaveVo cSaveVo) {
        return cSaveService.list(cSaveVo);
    }

}
